package dk.liljedahl.christian.apx.shipdaemon;

import java.util.prefs.Preferences;

import org.jivesoftware.smack.packet.Message;
import org.jivesoftware.smack.util.StringUtils;

import dk.liljedahl.christian.apx.ArduinoFirmata;
import dk.liljedahl.christian.apx.XMPPMachine;

public class Mediator {
	public Mediator(){
		// Preferences 
		prefs = Preferences.userRoot().node(this.getClass().getName());
		
	}
	public Preferences prefs;

	public XMPPMachine xmppmachine;
	
	public ArduinoFirmata arduinoFirmata;
	
	public String responseScript; // THis is to make the IncomingMessageParser do its job
	public String eventScript; // THis is to make the Event Parser do its job
	
	public int[] scriptmemory_int = new int[30]; // This to make scriptmemory accessible to both eventscript and responsescript


}
